﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace JsAndSilverLight.Web
{
    public partial class 載入當前圖層與當前圖以上級別的圖層 : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //當前極別
            var baseLevel = new List<string> { "132121103", "132121102", "132121100", "132121101", "132121120" };

            #region 加入自己生與所有以上級別的單個圖
                for (int n = 0; n < baseLevel[0].Length; n++)
                {
                    //遍歷所有字段
                    foreach (var str in baseLevel)
                    {
                    Response.Write(str.Substring(0,str.Length-n));
                    Response.Write("<br/>");
                    }
                }
            #endregion
        }
    }
}
